<template>
  <div class="tip">
    <!-- 常见科室 -->
    <div class="list-item" v-for="item in 4" :key="item">
      <div class="title">
        <p>
          <el-icon><Present /></el-icon>
          <span>常见科室</span>
        </p>
        <p>
          <span>全部</span>
          <el-icon><ArrowRightBold /></el-icon>
        </p>
      </div>
      <div class="content">
        <li>神经内科</li>
        <li>消化内科</li>
        <li>呼吸内科</li>
        <li>妇科</li>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import {ArrowRightBold,Present} from '@element-plus/icons-vue'
</script>

<style lang="scss" scoped>
.tip{
  padding: 0 20px;
}
.list-item{
  color: #7f7f7f;
  border-bottom: 1px dashed #efefef;
  padding-bottom: 15px;
  .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    p{
      display: flex;
      align-items: center;
      span{
        margin-left: 5px;
      }
      span{
        margin-right: 5px;
      }
      .el-icon{
        font-size: 13px;
      }
    }
  }
  .content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    li{
      width: 50%;
      padding: 5px 0;
    }
  }
}
</style>
